class UrlMappings {

	static mappings = {
        "/$controller/$action?/$id?"{
            constraints {
                // apply constraints here
            }
        }
        
        "/"(controller: 'user', action: 'index')
        "/testRun/update/$id"(controller: 'testRun') {
            action = [PUT: 'update']
        }
        "500"(view:'/error')
    }
}
